package com.lgj.web.sys.mapper;

import com.lgj.web.sys.model.SysResource;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysResourceMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysResource record);

    int insertSelective(SysResource record);

    SysResource selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysResource record);

    int updateByPrimaryKey(SysResource record);

    List<SysResource> selectAll();

    List<SysResource> selectPageList(@Param("categoryId") Long categoryId,
                                     @Param("nameKeyword")String nameKeyword,
                                     @Param("urlKeyword")String urlKeyword);
}